package cn.com.hhrcw.personal.thirdLogin.util;

import lombok.extern.slf4j.Slf4j;

import java.util.UUID;

/**
 * @author lixingxing
 */
@Slf4j
public class ThirdLoginUtil {

    public static final String PREFIX = "THIRD_LOGIN_";

    public static String createToken() {
        final String token = PREFIX + UUID.randomUUID().toString().replace("-", "").toUpperCase();
        log.info("token:{}", token);
        return token;
    }

}
